package com.duanjc.dbtool.exec;

import com.duanjc.dbtool.service.MySqlDBService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 1)
public class Execute implements ApplicationRunner {

    @Autowired
    private MySqlDBService mySqlDbServiceimpl;

    @Override
    public void run(ApplicationArguments args) {
        //mySqlDbServiceimpl.export();
        /*System.exit(0);*/
    }
}
